import { Component, OnInit } from '@angular/core';
import { LayoutService } from './services/layout.service';
import { SignalrService } from './services/signalr.service';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.sass'],
})
export class AppComponent implements OnInit {
    constructor(
        public layoutService: LayoutService,
        private signalrService: SignalrService
    ) {
    }
    ngOnInit(): void {
        this.signalrService.connect();
    }
}
